package com.yu.crm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yu.crm.domain.pojo.CrmUser;
import com.yu.crm.domain.pojo.CrmUserRole;
import com.yxzz.common.BaseMapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户角色表 Mapper 接口
 * </p>
 *
 * @author donnie-bin
 * @since 2019-06-10
 */
public interface CrmUserRoleMapper extends BaseMapper<CrmUserRole> {

    IPage<CrmUser> listUserByRoleId(IPage<CrmUser> page, @Param(value = "roleIds") List<Long> roleIds,@Param("condition") String condition);
}
